/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Exo 2', sans-serif;
}

body {
    background-color: #0a0a16;
    color: #00f3ff;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* 科幻背景效果 */
.cyber-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a16 0%, #0d1b2a 50%, #1a1a2e 100%);
    overflow: hidden;
}

.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, #00f3ff, transparent);
    opacity: 0.3;
    animation: scanline 8s linear infinite;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

@keyframes scanline {
    0% { top: 0%; }
    100% { top: 100%; }
}

/* 主容器 */
.container {
    display: flex;
    height: 100vh;
    padding: 20px;
    gap: 20px;
    z-index: 1;
    position: relative;
}

/* 播放器容器 */
.player-container {
    flex: 3;
    display: flex;
    flex-direction: column;
    background: rgba(10, 15, 35, 0.85);
    border: 1px solid #00f3ff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    backdrop-filter: blur(5px);
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 20, 40, 0.9);
    border-bottom: 1px solid #00f3ff;
}

.cyber-text {
    display: flex;
    flex-direction: column;
}

.cyberpunk-glitch {
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    color: #00f3ff;
    text-shadow: 0 0 10px #00f3ff, 0 0 20px #00f3ff;
    letter-spacing: 2px;
    animation: glitch 5s infinite;
}

.cyber-subtitle {
    font-size: 12px;
    color: #8be9fd;
    letter-spacing: 1px;
    margin-top: 2px;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    1% { transform: translate(-1px, 1px); }
    2% { transform: translate(-1px, -1px); }
    3% { transform: translate(1px, 1px); }
    4% { transform: translate(1px, -1px); }
    5% { transform: translate(0); }
}

.system-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ff375f;
    box-shadow: 0 0 10px #ff375f;
}

.status-indicator.active {
    background-color: #00ff9d;
    box-shadow: 0 0 10px #00ff9d;
    animation: pulse 2s infinite;
}

.status-text {
    font-size: 14px;
    font-weight: 600;
    color: #00ff9d;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 视频区域 */
.video-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hud-element {
    position: absolute;
    padding: 10px;
}

.hud-element.top-left {
    top: 10px;
    left: 10px;
}

.hud-element.top-right {
    top: 10px;
    right: 10px;
    text-align: right;
}

.hud-element.bottom-left {
    bottom: 10px;
    left: 10px;
}

.hud-element.bottom-right {
    bottom: 10px;
    right: 10px;
    text-align: right;
}

.hud-line {
    height: 2px;
    background: linear-gradient(90deg, #00f3ff, transparent);
    margin-bottom: 5px;
}

.hud-element.top-right .hud-line {
    background: linear-gradient(90deg, transparent, #00f3ff);
}

.hud-text {
    font-size: 12px;
    color: #00f3ff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-readout {
    font-size: 11px;
    color: #8be9fd;
}

.data-label {
    color: #00f3ff;
    margin-right: 5px;
}

/* 播放器控制 */
.player-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 20, 40, 0.9);
    border-top: 1px solid #00f3ff;
    gap: 15px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.center-controls {
    flex: 1;
}

/* 按钮样式 */
.cyber-button {
    background: rgba(0, 40, 80, 0.8);
    border: 1px solid #00f3ff;
    color: #00f3ff;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cyber-button:hover {
    background: rgba(0, 100, 200, 0.8);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.7);
    transform: translateY(-2px);
}

.cyber-button:active {
    transform: translateY(0);
}

.cyber-button.small {
    padding: 8px 12px;
    font-size: 14px;
}

.cyber-button.large {
    padding: 12px 20px;
    font-size: 16px;
}

/* 滑块样式 */
.cyber-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(0, 40, 80, 0.8);
    border-radius: 3px;
    outline: none;
}

.cyber-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00f3ff;
    cursor: pointer;
    box-shadow: 0 0 10px #00f3ff;
}

.cyber-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #00f3ff;
    cursor: pointer;
    box-shadow: 0 0 10px #00f3ff;
    border: none;
}

.progress-container {
    position: relative;
    width: 100%;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 6px;
    background: linear-gradient(90deg, #00f3ff, #00ff9d);
    border-radius: 3px;
    width: 0%;
    pointer-events: none;
}

/* 音量控制 */
.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
}

.time-display {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    color: #8be9fd;
    min-width: 120px;
    text-align: center;
}

/* 侧边栏 */
.sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 300px;
}

.sidebar-section {
    background: rgba(10, 15, 35, 0.85);
    border: 1px solid #00f3ff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    backdrop-filter: blur(5px);
}

.section-header {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(0, 20, 40, 0.9);
    border-bottom: 1px solid #00f3ff;
    gap: 10px;
}

.section-icon {
    font-size: 18px;
    color: #00f3ff;
}

.sidebar-section h3 {
    font-size: 18px;
    color: #00f3ff;
    font-weight: 600;
}

.sidebar-section h4 {
    font-size: 16px;
    color: #8be9fd;
    font-weight: 600;
}

/* 源按钮 */
.source-buttons {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 播放列表 */
.playlist-container {
    padding: 0 20px 20px;
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.playlist {
    max-height: 300px;
    overflow-y: auto;
}

.playlist::-webkit-scrollbar {
    width: 6px;
}

.playlist::-webkit-scrollbar-track {
    background: rgba(0, 40, 80, 0.5);
    border-radius: 3px;
}

.playlist::-webkit-scrollbar-thumb {
    background: #00f3ff;
    border-radius: 3px;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    cursor: pointer;
    transition: all 0.2s;
}

.playlist-item:hover {
    background: rgba(0, 100, 200, 0.2);
}

.playlist-item.active {
    background: rgba(0, 150, 255, 0.3);
    border-left: 3px solid #00f3ff;
}

.playlist-item-icon {
    margin-right: 12px;
    color: #00f3ff;
    font-size: 14px;
}

.playlist-item-info {
    flex: 1;
    overflow: hidden;
}

.playlist-item-title {
    font-size: 14px;
    color: #8be9fd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.playlist-item-duration {
    font-size: 12px;
    color: #5fa8ff;
}

/* 样例视频 */
.sample-videos {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sample-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(0, 40, 80, 0.5);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    gap: 15px;
}

.sample-item:hover {
    background: rgba(0, 100, 200, 0.3);
    border-color: #00f3ff;
    transform: translateX(5px);
}

.sample-thumb {
    width: 50px;
    height: 50px;
    background: rgba(0, 20, 40, 0.8);
    border: 1px solid #00f3ff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #00f3ff;
}

.sample-info {
    flex: 1;
}

.sample-title {
    font-size: 14px;
    color: #8be9fd;
    margin-bottom: 5px;
    font-weight: 600;
}

.sample-desc {
    font-size: 12px;
    color: #5fa8ff;
}

/* 系统信息 */
.system-info {
    background: rgba(10, 15, 35, 0.85);
    border: 1px solid #00f3ff;
    border-radius: 8px;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: #8be9fd;
}

.info-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    color: #00f3ff;
}

/* 设置面板 */
.settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: rgba(10, 15, 35, 0.95);
    border: 2px solid #00f3ff;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.5);
    z-index: 100;
    display: none;
    backdrop-filter: blur(10px);
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(0, 20, 40, 0.9);
    border-bottom: 1px solid #00f3ff;
}

.settings-header h3 {
    font-size: 20px;
    color: #00f3ff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-content {
    padding: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.setting-item label {
    font-size: 16px;
    color: #8be9fd;
}

.cyber-select {
    background: rgba(0, 40, 80, 0.8);
    border: 1px solid #00f3ff;
    color: #00f3ff;
    padding: 8px 12px;
    border-radius: 4px;
    width: 150px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 40, 80, 0.8);
    border: 1px solid #00f3ff;
    border-radius: 24px;
    transition: .4s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 3px;
    background-color: #00f3ff;
    border-radius: 50%;
    transition: .4s;
}

input:checked + .toggle-slider {
    background-color: rgba(0, 150, 255, 0.8);
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

/* 响应式设计 */

/* 大屏幕适配 (1400px以上) */
@media (min-width: 1400px) {
    .container {
        padding: 30px;
        gap: 30px;
    }
    
    .player-container {
        border-radius: 12px;
        box-shadow: 0 0 40px rgba(0, 243, 255, 0.4);
    }
    
    .player-header {
        padding: 20px 30px;
    }
    
    .cyberpunk-glitch {
        font-size: 32px;
    }
    
    .cyber-subtitle {
        font-size: 14px;
    }
    
    .hud-element {
        padding: 15px;
    }
    
    .hud-text {
        font-size: 14px;
    }
    
    .data-readout {
        font-size: 13px;
    }
    
    .player-controls {
        padding: 20px 30px;
        gap: 20px;
    }
    
    .control-group {
        gap: 20px;
    }
    
    .cyber-button {
        padding: 12px 20px;
        font-size: 18px;
    }
    
    .cyber-button.small {
        padding: 10px 15px;
        font-size: 16px;
    }
    
    .cyber-button.large {
        padding: 15px 25px;
        font-size: 18px;
    }
    
    .time-display {
        font-size: 16px;
        min-width: 140px;
    }
    
    .volume-control {
        min-width: 180px;
    }
    
    .sidebar {
        min-width: 350px;
        gap: 25px;
    }
    
    .sidebar-section {
        border-radius: 12px;
        box-shadow: 0 0 30px rgba(0, 243, 255, 0.3);
    }
    
    .section-header {
        padding: 20px;
    }
    
    .section-icon {
        font-size: 22px;
    }
    
    .sidebar-section h3 {
        font-size: 22px;
    }
    
    .source-buttons {
        padding: 25px;
        gap: 18px;
    }
    
    .playlist-container {
        padding: 0 25px 25px;
    }
    
    .playlist {
        max-height: 350px;
    }
    
    .playlist-item {
        padding: 15px 18px;
    }
    
    .playlist-item-title {
        font-size: 16px;
    }
    
    .playlist-item-duration {
        font-size: 14px;
    }
    
    .sample-videos {
        padding: 25px;
        gap: 18px;
    }
    
    .sample-item {
        padding: 18px;
    }
    
    .sample-thumb {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .sample-title {
        font-size: 16px;
    }
    
    .sample-desc {
        font-size: 14px;
    }
    
    .system-info {
        padding: 25px;
    }
    
    .info-label, .info-value {
        font-size: 16px;
    }
    
    .settings-panel {
        width: 450px;
    }
    
    .settings-header h3 {
        font-size: 24px;
    }
    
    .settings-content {
        padding: 25px;
    }
    
    .setting-item label {
        font-size: 18px;
    }
    
    .cyber-select {
        width: 180px;
        padding: 10px 15px;
        font-size: 16px;
    }
}

/* 中等屏幕适配 (1200px - 1400px) */
@media (max-width: 1400px) and (min-width: 1201px) {
    .sidebar {
        min-width: 320px;
    }
    
    .playlist {
        max-height: 280px;
    }
}

/* 平板横屏适配 (992px - 1200px) */
@media (max-width: 1200px) {
    .container {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
        overflow-y: auto;
        height: auto;
        min-height: 100vh;
    }
    
    .player-container {
        flex: none;
        height: 60vh;
        min-height: 400px;
    }
    
    .sidebar {
        min-width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .sidebar-section {
        flex: 1;
        min-width: 300px;
    }
    
    .playlist {
        max-height: 200px;
    }
    
    .cyberpunk-glitch {
        font-size: 22px;
    }
    
    .player-controls {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .control-group {
        gap: 10px;
    }
    
    .cyber-button {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .time-display {
        font-size: 13px;
        min-width: 100px;
    }
    
    .volume-control {
        min-width: 120px;
    }
}

/* 平板竖屏适配 (768px - 992px) */
@media (max-width: 992px) {
    .container {
        padding: 12px;
        gap: 12px;
    }
    
    .player-container {
        height: 50vh;
        min-height: 350px;
        border-radius: 6px;
    }
    
    .player-header {
        padding: 12px 15px;
    }
    
    .cyberpunk-glitch {
        font-size: 20px;
    }
    
    .cyber-subtitle {
        font-size: 11px;
    }
    
    .status-text {
        font-size: 13px;
    }
    
    .hud-element {
        padding: 8px;
    }
    
    .hud-text {
        font-size: 11px;
    }
    
    .data-readout {
        font-size: 10px;
    }
    
    .player-controls {
        padding: 10px 12px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .center-controls {
        order: -1;
        width: 100%;
        flex: none;
    }
    
    .control-group {
        gap: 8px;
    }
    
    .cyber-button {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .cyber-button.small {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .time-display {
        font-size: 12px;
        min-width: 90px;
    }
    
    .volume-control {
        min-width: 100px;
    }
    
    .sidebar {
        flex-direction: column;
        gap: 12px;
    }
    
    .sidebar-section {
        min-width: auto;
    }
    
    .section-header {
        padding: 12px;
    }
    
    .sidebar-section h3 {
        font-size: 16px;
    }
    
    .source-buttons {
        padding: 15px;
        gap: 10px;
    }
    
    .playlist-container {
        padding: 0 15px 15px;
    }
    
    .playlist {
        max-height: 180px;
    }
    
    .sample-videos {
        padding: 15px;
        gap: 10px;
    }
    
    .sample-item {
        padding: 12px;
    }
    
    .sample-thumb {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .system-info {
        padding: 15px;
    }
    
    .settings-panel {
        width: 90%;
        max-width: 400px;
    }
}

/* 手机横屏适配 (600px - 768px) */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        gap: 10px;
    }
    
    .player-container {
        height: 45vh;
        min-height: 300px;
    }
    
    .player-header {
        padding: 10px 12px;
    }
    
    .cyberpunk-glitch {
        font-size: 18px;
        letter-spacing: 1px;
    }
    
    .system-status {
        gap: 6px;
    }
    
    .status-indicator {
        width: 10px;
        height: 10px;
    }
    
    .status-text {
        font-size: 12px;
    }
    
    .hud-element.top-left,
    .hud-element.top-right {
        display: none;
    }
    
    .player-controls {
        padding: 8px 10px;
    }
    
    .cyber-button {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .cyber-button.large {
        padding: 8px 14px;
        font-size: 14px;
    }
    
    .cyber-slider {
        height: 4px;
    }
    
    .cyber-slider::-webkit-slider-thumb {
        width: 14px;
        height: 14px;
    }
    
    .progress-fill {
        height: 4px;
    }
    
    .time-display {
        font-size: 11px;
        min-width: 80px;
    }
    
    .volume-control {
        min-width: 80px;
    }
    
    .sidebar-section h3 {
        font-size: 15px;
    }
    
    .sidebar-section h4 {
        font-size: 14px;
    }
    
    .playlist-item {
        padding: 10px 12px;
    }
    
    .playlist-item-title {
        font-size: 13px;
    }
    
    .sample-title {
        font-size: 13px;
    }
    
    .sample-desc {
        font-size: 11px;
    }
    
    .info-label, .info-value {
        font-size: 13px;
    }
    
    .settings-panel {
        max-width: 350px;
    }
    
    .settings-header {
        padding: 15px;
    }
    
    .settings-header h3 {
        font-size: 18px;
    }
    
    .settings-content {
        padding: 15px;
    }
    
    .setting-item {
        margin-bottom: 15px;
    }
    
    .setting-item label {
        font-size: 14px;
    }
    
    .cyber-select {
        width: 130px;
        padding: 6px 10px;
    }
}

/* 手机竖屏适配 (480px - 600px) */
@media (max-width: 600px) {
    .container {
        padding: 8px;
        gap: 8px;
    }
    
    .player-container {
        height: 40vh;
        min-height: 250px;
        border-radius: 4px;
    }
    
    .player-header {
        padding: 8px 10px;
    }
    
    .cyberpunk-glitch {
        font-size: 16px;
    }
    
    .cyber-subtitle {
        font-size: 10px;
    }
    
    .hud-element.bottom-left,
    .hud-element.bottom-right {
        padding: 6px;
    }
    
    .hud-text {
        font-size: 10px;
    }
    
    .data-readout {
        font-size: 9px;
    }
    
    .player-controls {
        padding: 6px 8px;
        gap: 6px;
    }
    
    .control-group {
        gap: 6px;
    }
    
    .cyber-button {
        padding: 5px 8px;
        font-size: 11px;
        gap: 4px;
    }
    
    .cyber-button.small {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    .cyber-button.large {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .time-display {
        font-size: 10px;
        min-width: 70px;
    }
    
    .volume-control {
        min-width: 70px;
        gap: 6px;
    }
    
    .sidebar {
        gap: 8px;
    }
    
    .sidebar-section {
        border-radius: 4px;
    }
    
    .section-header {
        padding: 10px;
    }
    
    .section-icon {
        font-size: 16px;
    }
    
    .sidebar-section h3 {
        font-size: 14px;
    }
    
    .source-buttons {
        padding: 12px;
        gap: 8px;
    }
    
    .playlist-container {
        padding: 0 12px 12px;
    }
    
    .playlist-header {
        margin-bottom: 10px;
    }
    
    .playlist {
        max-height: 150px;
    }
    
    .playlist::-webkit-scrollbar {
        width: 4px;
    }
    
    .playlist-item {
        padding: 8px 10px;
    }
    
    .playlist-item-icon {
        margin-right: 8px;
        font-size: 12px;
    }
    
    .playlist-item-title {
        font-size: 12px;
    }
    
    .playlist-item-duration {
        font-size: 10px;
    }
    
    .sample-videos {
        padding: 12px;
        gap: 8px;
    }
    
    .sample-item {
        padding: 10px;
        gap: 10px;
    }
    
    .sample-thumb {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .sample-title {
        font-size: 12px;
        margin-bottom: 3px;
    }
    
    .sample-desc {
        font-size: 10px;
    }
    
    .system-info {
        padding: 12px;
    }
    
    .info-item {
        padding: 8px 0;
    }
    
    .info-label, .info-value {
        font-size: 12px;
    }
    
    .settings-panel {
        width: 95%;
        max-width: 320px;
        border-radius: 6px;
    }
    
    .settings-header {
        padding: 12px;
    }
    
    .settings-header h3 {
        font-size: 16px;
    }
    
    .settings-content {
        padding: 12px;
    }
    
    .setting-item {
        margin-bottom: 12px;
    }
    
    .setting-item label {
        font-size: 13px;
    }
    
    .cyber-select {
        width: 120px;
        padding: 5px 8px;
        font-size: 13px;
    }
    
    .toggle-switch {
        width: 44px;
        height: 22px;
    }
    
    .toggle-slider:before {
        height: 14px;
        width: 14px;
        left: 3px;
        bottom: 3px;
    }
    
    input:checked + .toggle-slider:before {
        transform: translateX(22px);
    }
}

/* 小屏手机适配 (480px以下) */
@media (max-width: 480px) {
    .container {
        padding: 6px;
        gap: 6px;
    }
    
    .player-container {
        height: 35vh;
        min-height: 220px;
    }
    
    .player-header {
        padding: 6px 8px;
    }
    
    .cyberpunk-glitch {
        font-size: 14px;
        letter-spacing: 1px;
    }
    
    .cyber-subtitle {
        font-size: 9px;
        margin-top: 1px;
    }
    
    .system-status {
        gap: 5px;
    }
    
    .status-indicator {
        width: 8px;
        height: 8px;
    }
    
    .status-text {
        font-size: 10px;
    }
    
    .hud-element {
        display: none;
    }
    
    .player-controls {
        padding: 5px 6px;
        gap: 4px;
    }
    
    .control-group {
        gap: 4px;
    }
    
    .cyber-button {
        padding: 4px 6px;
        font-size: 10px;
        gap: 3px;
    }
    
    .cyber-button.small {
        padding: 3px 6px;
        font-size: 9px;
    }
    
    .cyber-button.large {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .cyber-slider {
        height: 3px;
    }
    
    .cyber-slider::-webkit-slider-thumb {
        width: 12px;
        height: 12px;
    }
    
    .progress-fill {
        height: 3px;
    }
    
    .time-display {
        font-size: 9px;
        min-width: 60px;
    }
    
    .volume-control {
        min-width: 60px;
        gap: 4px;
    }
    
    .sidebar {
        gap: 6px;
    }
    
    .section-header {
        padding: 8px;
    }
    
    .section-icon {
        font-size: 14px;
    }
    
    .sidebar-section h3 {
        font-size: 13px;
    }
    
    .sidebar-section h4 {
        font-size: 12px;
    }
    
    .source-buttons {
        padding: 10px;
        gap: 6px;
    }
    
    .playlist-container {
        padding: 0 10px 10px;
    }
    
    .playlist {
        max-height: 120px;
    }
    
    .playlist-item {
        padding: 6px 8px;
    }
    
    .playlist-item-icon {
        margin-right: 6px;
        font-size: 10px;
    }
    
    .playlist-item-title {
        font-size: 11px;
    }
    
    .playlist-item-duration {
        font-size: 9px;
    }
    
    .sample-videos {
        padding: 10px;
        gap: 6px;
    }
    
    .sample-item {
        padding: 8px;
        gap: 8px;
    }
    
    .sample-thumb {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .sample-title {
        font-size: 11px;
    }
    
    .sample-desc {
        font-size: 9px;
    }
    
    .system-info {
        padding: 10px;
    }
    
    .info-item {
        padding: 6px 0;
    }
    
    .info-label, .info-value {
        font-size: 11px;
    }
    
    .settings-panel {
        max-width: 300px;
    }
    
    .settings-header {
        padding: 10px;
    }
    
    .settings-header h3 {
        font-size: 14px;
    }
    
    .settings-content {
        padding: 10px;
    }
    
    .setting-item {
        margin-bottom: 10px;
    }
    
    .setting-item label {
        font-size: 12px;
    }
    
    .cyber-select {
        width: 110px;
        padding: 4px 6px;
        font-size: 12px;
    }
    
    .toggle-switch {
        width: 40px;
        height: 20px;
    }
    
    .toggle-slider:before {
        height: 12px;
        width: 12px;
        left: 3px;
        bottom: 3px;
    }
    
    input:checked + .toggle-slider:before {
        transform: translateX(20px);
    }
}